{% extends "while_base.html" %}
{%block style %}
<link href="{{ MEDIA_URL }}css/style_postyourconfession.css" rel="stylesheet" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="{{MEDIA_URL}}css/formly.css"  />
<script type="text/javascript" src="{{MEDIA_URL}}js/formly.js"></script>

{% endblock %}
{% block menu %}
				<li><a href="/main/">Today</a></li>
				<li><a href="/fame/">Hall of Fame</a></li>
				<li><a href="/shame/">Hall of Shame</a></li>
				<li ><a href="/about/" class="last">About Us</a></li>
				{% endblock %}


{% block page %}

	<hr />
	<div id="page-bgtop">
	
	{% if response == 1 %}
				<div class="entry posted" style="font-size: 20px;">
				
				
				Thanks for bitching about your <br><span style="text-transform: lowercase;"> {{post.adjective}} {{post.noun}}</span>. <br>
				<br>Your post is awaiting <br> moderator approval.
			
				</div>
				{%else%}
		
		<div id="content">
			<div class="post">
				
				
				<div id="logo">
					<h1>post your confession</h1>
				</div>
				<FORM id="postform" METHOD="post" ACTION="">
				 {% csrf_token %}					
				 <LABEL for="Gender">I am a:</LABEL>
					{{form.gender}} <br><br>
				 <LABEL for="Confessing about">Confessing about: </LABEL>
					{{form.adjective}}  {{form.noun}} <br> <span class="small" style="margin-left:120px">(bitchy girlfriend, annoying roommate, stupid sister...)</span> 
					 
					
					 <br><LABEL for="While You Were">"While you were </LABEL>
					{{form.whileyou}}...
				
					{{form.description}}."
					<br>
					
					<br> At {{form.campus}} {{form.campus_aff}} Check if not affiliated with a campus.<br>
					<INPUT type="submit" value="Post"> <INPUT type="reset">
					
				</div>
				
				</Form>
		
				<script>
				
$(document).ready(function()
  { $('#postform').formly({}); });
				</script>
				
			</div>
		</div>
		{%endif%}
		<div style="clear: both;">&nbsp;</div>
	</div>
{% endblock %}
